#ifndef FKVISUALINTERFACEVIEW_H
#define FKVISUALINTERFACEVIEW_H

#include <QQuickView>

#include "fkvisualinterface_global.h"

class FKVISUALINTERFACESHARED_EXPORT FKVisualInterfaceView:public QQuickView{
    Q_OBJECT
public:
    FKVisualInterfaceView(QString source = QString(), QWindow* parent = 0);
    ~FKVisualInterfaceView();
    QString sourceFile() const{return _source;}
    void loadFromqrc(QString path);
signals:
    void resized(QSize size);
protected:
    void resizeEvent(QResizeEvent* ev);
private:
    QString _source;
};

#endif // FKVISUALINTERFACEVIEW_H
